﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication.Admin.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            Height="168px" onrowdatabound="GridView1_RowDataBound" 
            style="margin-top: 204px">
        <Columns>
         <asp:TemplateField HeaderText="Stt">
          <ItemTemplate>
           <%# Container.DataItemIndex +1 %>
          </ItemTemplate>
         </asp:TemplateField>
          <asp:TemplateField HeaderText="Mặt hàng">
          <ItemTemplate>
           <asp:DropDownList ID="Dlmathang" runat="server"></asp:DropDownList>
          </ItemTemplate>
         </asp:TemplateField>
          <asp:TemplateField HeaderText="số lượng">
          <ItemTemplate>
           <asp:TextBox ID="txtsoluong" runat="server"></asp:TextBox>
          </ItemTemplate>
         </asp:TemplateField>
          <asp:TemplateField HeaderText="Đơn giá">
          <ItemTemplate>
           <asp:TextBox ID="txtdongia" runat="server"></asp:TextBox>
          </ItemTemplate>
         </asp:TemplateField>
         <asp:TemplateField HeaderText="Ghi chú">
          <ItemTemplate>
           <asp:TextBox ID="txtghichu" runat="server"></asp:TextBox>
          </ItemTemplate>
         </asp:TemplateField>
        </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
